package com.baosight.risk.service.system.entity;

import java.io.Serializable;
import javax.persistence.*;

import com.baosight.risk.base.entity.BaseEntity;
import lombok.Data;

/**
 * Table: sys_role_menu
 */
@Data
@Table(name = "sys_role_menu")
public class SysRoleMenu extends BaseEntity {
    /**
     * 角色ID
     * <p>
     * Table:     sys_role_menu
     * Column:    id
     * Nullable:  false
     */

    @Id
    @Column(name = "id")
    private String id;

    @Id
    @Column(name = "role_id")
    private String roleId;

    /**
     * 菜单ID
     * <p>
     * Table:     sys_role_menu
     * Column:    menu_id
     * Nullable:  false
     */
    @Id
    @Column(name = "menu_id")
    private String menuId;

    private static final long serialVersionUID = 1L;
}